package com.shop.shop_end.service;
import com.shop.shop_end.entity.Admin;
import com.shop.shop_end.utils.result.Result;
import com.shop.shop_end.dto.LoginUser;

import javax.servlet.http.HttpServletRequest;

public interface AdminService {
    Result getAllAdmins();

    Admin getAdminById(Long adminId);

    Result addAdmin(Admin admin);

    Result updateAdmin(Admin admin);

    Result deleteAdmin(Long adminId);

    Result getAdminByName(String username);

    Result login(LoginUser admin);
}
